<%@ page contentType="text/html; charset=iso-8859-1" language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="/GoHome.jsp"%>
<html>
<body>
	<form action="/Cs420Web/Photo" method="Post" enctype="multipart/form-data">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			
			<tr>
				<td width="22%">&nbsp;</td>
				<td width="78%">&nbsp;</td>
			</tr>
			<tr>
		
			<tr>
				<td>Choose An album:</td>
				<td><select id="searchType" name="idAlbum">
						<c:forEach items="${albums}" var="album">
							<option value="${album.idAlbum}">${album.title}</option>
						</c:forEach>
				</select></td>
			</tr>
			
			<tr>
				<td>Photo Path</td>
				<td><input type="file" name="url" size="50" /></td>
			</tr>

			<tr>
				<td>Camera</td>
				<td><input type="text" name="camera"></td>
			</tr>

			<tr>
				<td>Lens</td>
				<td><input type="text" name="lens"></td>
			</tr>

			<tr>
				<td>Focal</td>
				<td><input type="text" name="focal"></td>
			</tr>

			<tr>
				<td>Sensitivity</td>
				<td><input type="text" name="sensitivity"></td>
			</tr>

			<tr>
				<td>Opening</td>
				<td><input type="text" name="opening"></td>
			</tr>

			<tr>
				<td>Resolution</td>
				<td><input type="text" name="resolution"></td>
			</tr>
			<tr>
				<td>Obturation</td>
				<td><input type="text" name="obturation"></td>
			</tr>
			
			<tr>
				<td>Title:</td>
				<td><input type="text" name="title" /></td>
			</tr>

			<tr>
				<td>Comments</td>
				<td><textarea name="comments" cols="40" rows="5"></textarea></td>
			</tr>
			
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" value="add" id="action" name="add"></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
			</tr>
		</table>
	</form>
</body>
</html>